﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.UpdateDB.Model.SingleModel
{
    /// <summary>
    /// 
    /// </summary>
    public class WindowsOSInfo
    {
        /// <summary>
        /// 
        /// </summary>
        public WindowsOSInfo()
        {
            Name = "Windows";
            Version = "10";
            Company = "Microsoft";
            InnerCode = 19171;
            InnerName = "RedStone";
            IdentityCode = new Guid("0F4137ED1502B5045D6083AA258B5C42");
            ModelCreateTime = DateTime.Now;
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 公司名
        /// </summary>
        public string Company { get; set; }
        /// <summary>
        /// 内部代号
        /// </summary>
        public int InnerCode { get; set; }
        /// <summary>
        /// 内部名称
        /// </summary>
        public string InnerName { get; set; }
        /// <summary>
        /// 唯一标识码
        /// </summary>
        public Guid IdentityCode { get; set; }
        /// <summary>
        /// 模型创建时间
        /// </summary>
        public DateTime ModelCreateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            return $"{Name} {Version} {Company}";
        }
    }
}
